﻿<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Pragma" content="no-cache">
<link rel="STYLESHEET" type="text/css" id="SkinStyleSheet">
<title>WebNoteEditor</title>
<script language="javascript" type="text/javascript" src="../script/windialog.js"></script>
<script language="javascript">
window.onload=function()
{
	if (srcObj.tagName=="A")
	{
		document.getElementById("anchorName").value=srcObj.name;
	}
	AutoResizeDialogWindow();
}

function __btnOk_onclick()
{
	if (srcObj.tagName=="A")
	{
		srcObj.name=document.getElementById("anchorName").value;
	}
	else
	{
		XEditor.document.execCommand("CreateBookmark",false,document.getElementById("anchorName").value);
	}
	window.returnValue=true;
	window.close();
}


function __btnCancel_onclick()
{
	window.close();
}
</script>
</head>
<body class="dialog">
<script language="javascript" type="text/javascript">dialogTitle("lang_attribute_anchor")</script>

<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><script language="javascript" type="text/javascript">dialogPrintlang("lang_name")</script></td>
    <td><input type="text" id="anchorName" size="30" class="dialogInput"></td>
  </tr>
</table>
<div class="buttons">
	<hr size="1" color="#B3AC9D">
	<script language="javascript" type="text/javascript">
		PrintButtons2();
	</script>
</div>

</body>

</html>
